import Demo from './demo';
import Card from './card';
import Button from './button';

const components = {
  Demo,
  Card,
  Button
}
const install = function(Vue) {
  if(install.installed) return;
  Object.keys(components).forEach(key => {
    Vue.component(components[key].name, components[key]);
  })
}

export default {
  install
}